package com.gs.weather.service;

import com.gs.weather.entity.DisasterProcess;
import com.gs.weather.vo.PageBean;
import org.springframework.http.ResponseEntity;


/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/21 0021
 */

public interface DisasterProcessService {

    Long addProcess(DisasterProcess process);

    ResponseEntity updateProcess(DisasterProcess process);

    PageBean getAllProcess(String name, String time, Integer pageNum);

    DisasterProcess getProcessById(long id);

    ResponseEntity deleteProcess(long id);

}
